package com.java.star.mall.front.pojo.dto;

import com.alibaba.fastjson2.annotation.JSONField;
import lombok.Data;

import java.io.Serializable;

/**
 * 微信小程序获取openId的数据响应实体
 */
@Data
public class OpenIdRequestDTO implements Serializable {

    private static final long serialVersionUID = -5919626527246917012L;

    //会话密钥
    @JSONField(name = "session_key")
    private String sessionKey;

    //用户在开放平台的唯一标识符
    @JSONField(name = "unionid")
    private String unionId;

    //错误信息
    @JSONField(name = "errcode")
    private String errCode;

    //用户唯一标识
    @JSONField(name = "errmsg")
    private String errMsg;

    //错误码
    @JSONField(name = "openid")
    private String openId;
}
